window: Don't assume 640x480 max default size
authorBenjamin Otte <otte@redhat.com>
Mon, 25 Nov 2013 01:40:05 +0000 (02:40 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 25 Nov 2013 02:49:35 +0000 (03:49 +0100)
commitf18655c641dbe2ca2a28627538898be575667e1a
tree5411ac6527b82facb09bfc57c7b5faf68c28dab4
parent8308f4c1e9d654c77f50e4ea9b945cf382161009
window: Don't assume 640x480 max default size

Instead, use the monitor's work area.

This might have unforseen side effects that warrant a later revert, such
as:
- Apparently some WMs assume maximizing when a window is maximum screen
  size.
- WMs might not shrink the window by the decorations' size when it tries
  to be fullscreen.
- Applications might have buggy size request code that causes weirdly
  sized windows.
gtk/gtkwindow.c